﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Top.PointStore.Web.Core
{
    public static class DateTimeEx
    {
        public static DateTime DefaultPrase(string datetimeString)
        {
            DateTime rel;
            if(!DateTime.TryParse(datetimeString,out rel))
            {
                rel = DateTime.MinValue;
            }
            return rel;
        }
    }
}